package coupon.controller;


import coupon.domain.SpuBounds;
import coupon.service.SpuBoundsService;
import com.feign.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 商品spu积分设置(SpuBounds)表控制层
 *
 * @author panghu
 * @since 2023-03-05 14:29:42
 */
@RestController
@RequestMapping("coupon/spuBounds")
public class SpuBoundsController {

    @Autowired
    private SpuBoundsService spuBoundsService;

    @PostMapping("save")
    public R saveSpuBounds(@RequestBody SpuBounds spuBounds) {
        spuBoundsService.save(spuBounds);
        return R.ok();
    }

}

